package com.cloudstore.dev.service.impl;

import com.weaverboot.frame.ioc.anno.classAnno.WeaPageLoadComponent;
import com.weaverboot.frame.ioc.anno.methodAnno.WeaPageLoad;
import com.weaverboot.frame.ioc.handler.replace.weaReplaceParam.impl.WeaSyncParam;
import weaver.general.BaseBean;

import java.util.HashMap;
import java.util.Map;

/**
 * @author dusongsong
 * @date 2024年04月02日 11:22
 */
@WeaPageLoadComponent("")
public class SyncServiceImpl {
    @WeaPageLoad(order = 1, description = "执行方法1")
    public Map<String, Object> Sync1(WeaSyncParam weaSyncParam) {
        BaseBean baseBean = new BaseBean();
        Map<String, Object> map = weaSyncParam.getResponseParamMap();
        if (map == null)
            map = new HashMap<>();
        baseBean.writeLog(">>>>>SyncServiceImpl>>>>>map="+map);
        map.put("UUID1", "value1");
        baseBean.writeLog(">>>>>SyncServiceImpl>>>>>map="+map);
        return map;
    }
}
